﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ajayumi.develop.win32.Transport.WCF.Services.DataContracts
{
    /// <summary>
    /// CPointInfo.cs 通信端点对象，C为computer首字母
    /// Author   : 黄乙冬
    /// Date     : 2012-02-10
    /// </summary>
    [DataContract]
    public class CPointInfo
    {
        public CPointInfo()
        {
            this.Guid = System.Guid.NewGuid().ToString();
        }
        
        /// <summary>
        /// 唯一标识
        /// </summary>
        [DataMember]
        public string Guid { get; set; }

        /// <summary>
        /// IP
        /// </summary>
        public string IP { get; set; }
    }
}
